Filter hook 'get_user_option_{$option}'
in WP Core File wp-includes/user.php at line 717
Description
Filters a specific user option value. The dynamic portion of the hook name, `$option`, refers to the user option name.
Occurrences
Filename |
Line Number |
wp-includes/user.php |
717 |
Parameters
Type |
Name |
Description |
mixed |
$result |
Value for the user's option. |
string |
$option |
Name of the option being retrieved. |
WP_User |
$user |
WP_User object of the user whose option is being retrieved. |
PHP Doc
/**
* Filters a specific user option value.
*
* The dynamic portion of the hook name, `$option`, refers to the user option name.
*
* @since 2.5.0
*
* @param mixed $result Value for the user's option.
* @param string $option Name of the option being retrieved.
* @param WP_User $user WP_User object of the user whose option is being retrieved.
*/